{include file="pub_header.htm"}
<div class="out_table">
<table width="100%" cellpadding="6" cellspacing="6" border="0" align="center" class="frame_table">
  <tr>
    <td width="20%" align="left" valign="top" bgcolor="#EEEEEE" class="main_border_inside">
      {include file="pub_submenu.htm"}
    </td>
    <td width="80%" align="center" valign="top" bgcolor="#FFFFFF">

      <div class="right_table">
      <table width="100%" cellpadding="3" cellspacing="0" border="0" align="center" class="current_place">
        <tr>
          <td align="left" nowrap>&nbsp;
            <a href="{$control_admin}" target="_self" class="current_place">管理首页</a>
            &raquo; <a href="{$control_admin}?act=quicklaunch" target="_self" class="current_place">快速启动</a>
          </td>
          <td align="right" nowrap>
            <img src="{$dir_images_admin}/icon_warning.gif" title="Warning" alt="Warning" align="absmiddle" /> 双击修改内容
          </td>
        </tr>
      </table>
      </div>
      
      <div class="space"></div>
      <div class="right_table">
      <table width="100%" cellpadding="3" cellspacing="0" border="0" align="center" class="block_group">
        <tr align="left" class="block_header">
          <td colspan="6">快速启动</td>
        </tr>
        <tr class="block_title">
          <td width="20%" height="25" nowrap>名称</td>
          <td width="10%" nowrap>颜色</td>
          <td width="10%" nowrap>加粗</td>
          <td width="40%" nowrap>地址</td>
          <td width="10%" nowrap>排序</td>
          <td width="10%" nowrap>操作</td>
        </tr>
        {foreach name=quicklaunch from=$quicklaunch item=item}
        <tr align="center" class="block_list" onmouseover="this.className='block_list_over'" onmouseout="this.className='block_list'">
          <td height="25" title="双击更改内容" ondblclick="xajax_set_value_onfocus('name', '{$item.id}', $('#name_{$item.id}_value').val(), 'text', '255', 'width:120px;text-align:center;');">
            <table width="100%" cellspacing="0" cellpadding="0" border="0" class="content_wrap"><tr><td align="center"><div id="name_{$item.id}" name="name_{$item.id}"><div style="{if $item.name_color != ''}color:{$item.name_color_value};{/if}{if $item.name_bold == '1'}font-weight:bold;{/if}">{$item.name|str_entag:'space'}</div></div></td></tr></table>
            <input type="hidden" id="name_{$item.id}_value" name="name_{$item.id}_value" value="{$item.name|str_entag}">
          </td>
          <td title="双击更改内容" ondblclick="xajax_set_value_onfocus('name_color', '{$item.id}', $('#name_color_{$item.id}_value').val(), 'name_color', 7, 'width:60px;text-align:center;');">
            <table width="100%" cellspacing="0" cellpadding="0" border="0" class="content_wrap"><tr><td align="center"><div id="name_color_{$item.id}" name="name_color_{$item.id}"><div style="width: 60px;height:18px;border:1px solid #EEEEEE;{if $item.name_color != ''}background-color:{$item.name_color_value};{/if}">{$item.name_color_name|default:'&nbsp;'}</div></div></td></tr></table>
            <input type="hidden" id="name_color_{$item.id}_value" name="name_color_{$item.id}_value" value="{$item.name_color}">
          </td>
          <td title="双击更改内容" ondblclick="xajax_set_value_onfocus('name_bold', '{$item.id}', $('#name_bold_{$item.id}_value').val(), 'checkbox', 255, 'text-align:center;');">
            <table width="100%" cellspacing="0" cellpadding="0" border="0" class="content_wrap"><tr><td align="center"><div id="name_bold_{$item.id}" name="name_bold_{$item.id}">{if $item.name_bold == "1"}&radic;{/if}</div></td></tr></table>
            <input type="hidden" id="name_bold_{$item.id}_value" name="name_bold_{$item.id}_value" value="{$item.name_bold}">
          </td>
          <td title="双击更改内容" ondblclick="xajax_set_value_onfocus('url', '{$item.id}', $('#url_{$item.id}_value').val(), 'text', 255, 'width:270px;text-align:left;');">
            <table width="100%" cellspacing="0" cellpadding="0" border="0" class="content_wrap"><tr><td align="left"><div id="url_{$item.id}" name="url_{$item.id}">{$item.url}</div></td></tr></table>
            <input type="hidden" id="url_{$item.id}_value" name="url_{$item.id}_value" value="{$item.url}">
          </td>
          <td title="双击更改内容" ondblclick="xajax_set_value_onfocus('rank', '{$item.id}', $('#rank_{$item.id}_value').val(), 'text', 11, 'width:60px;text-align:center;');">
            <table width="100%" cellspacing="0" cellpadding="0" border="0" class="content_wrap"><tr><td align="center"><div id="rank_{$item.id}" name="rank_{$item.id}">{$item.rank}</div></td></tr></table>
            <input type="hidden" id="rank_{$item.id}_value" name="rank_{$item.id}_value" value="{$item.rank}">
          </td>
          <td nowrap>
            <a href="{$control_admin}?act=quicklaunch&ope=del&id={$item.id}" target="_self" onClick="return confirm('真的要删除记录?')"><img src="{$dir_images_admin}/icon_delete.gif" border="0" alt="删" title="删除记录"></a>
          </td>
        </tr>
        {/foreach}
      </table>
      <div class="space"></div>
      <form action="{$control_admin}?act=quicklaunch&ope=add" method="post" name="quicklaunch" id="quicklaunch" enctype="multipart/form-data">
      <table width="100%" cellpadding="3" cellspacing="0" border="0" align="center" class="block_group">
        <tr class="block_footer" align="center">
          <td width="20%" height="25" align="center"><input type="text" id="name" name="name" size="6" maxlength="255" value="" class="input" style="width:120px;text-align:center;" /></td>
          <td width="10%" align="center" nowrap>{$add_name_color}</td>
          <td width="10%" align="center" nowrap><input type="checkbox" id="name_bold" name="name_bold" value="1" class="checkbox" /></td>
          <td width="40%" align="left"><input type="text" id="url" name="url" size="6" maxlength="255" value="" class="input" style="width:270px;text-align:left;" /></td>
          <td width="10%" align="center" nowrap><input type="text" id="rank" name="rank" size="6" maxlength="255" value="" class="input" style="width:60px;text-align:center;" /></td>
          <td width="10%" align="center" nowrap><input type="submit" name="submit" value="添加" class="submit"></td>
        </tr>
      </table>
      </form>
      </div>

    </td>
  </tr>
</table>
{include file="pub_footer.htm"}